231. Power Of Two | Leetcode | Python